package implicitConvert;

/**
 * @program: jvm
 * @description
 * @author: tkk fendoukaoziji
 * @create: 2019-01-30 17:43
 **/
public class Convert {
    public static void main(String[] args) {
        short a=2;
        a=(short)(a+1);//会自动转为int进行相加
        a+=1;
        System.out.println(a);
    }
}
